package org.ymjava.medical.db.AllPackage.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;


/**
 * 
 * 
 * @author zhy
 * @email ${email}
 * @date 2020-03-27 14:46:03
 */
@Table(name = "mobile_user")
public class MobileUser implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    private Integer id;
	
	    //昵称
    @Column(name = "nick_name")
    private String nickName;
	
	    //微信openid
    @Column(name = "wx_openid")
    private String wxOpenid;
	
	    //微信头像
    @Column(name = "avatar")
    private String avatar;
	
	    //性别
    @Column(name = "genter")
    private String genter;
	
	    //状态 0 登陆 1 填写完个人资料
    @Column(name = "status")
    private Integer status;
	
	    //真实姓名
    @Column(name = "user_name")
    private String userName;
	
	    //身份证号
    @Column(name = "id_card")
    private String idCard;
	
	    //机构
    @Column(name = "mechanism")
    private String mechanism;
	
	    //科室id
    @Column(name = "dept")
    private String dept;
	
	    //职称id
    @Column(name = "job")
    private String job;
	
	    //手机号
    @Column(name = "mobile")
    private String mobile;
	
	    //工号
    @Column(name = "code")
    private String code;
	
	    //职务
    @Column(name = "position")
    private String position;
	
	    //能级
    @Column(name = "energy_level")
    private String energyLevel;
	
	    //入职时间
    @Column(name = "entry_time")
    private String entryTime;
	
	    //添加时间
    @Column(name = "add_time")
    private Date addTime;
	
	    //逻辑删除
    @Column(name = "deleted")
    private Integer deleted;
	

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：昵称
	 */
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	/**
	 * 获取：昵称
	 */
	public String getNickName() {
		return nickName;
	}
	/**
	 * 设置：微信openid
	 */
	public void setWxOpenid(String wxOpenid) {
		this.wxOpenid = wxOpenid;
	}
	/**
	 * 获取：微信openid
	 */
	public String getWxOpenid() {
		return wxOpenid;
	}
	/**
	 * 设置：微信头像
	 */
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	/**
	 * 获取：微信头像
	 */
	public String getAvatar() {
		return avatar;
	}
	/**
	 * 设置：性别
	 */
	public void setGenter(String genter) {
		this.genter = genter;
	}
	/**
	 * 获取：性别
	 */
	public String getGenter() {
		return genter;
	}
	/**
	 * 设置：状态 0 登陆 1 填写完个人资料
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * 获取：状态 0 登陆 1 填写完个人资料
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * 设置：真实姓名
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	/**
	 * 获取：真实姓名
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * 设置：身份证号
	 */
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	/**
	 * 获取：身份证号
	 */
	public String getIdCard() {
		return idCard;
	}
	/**
	 * 设置：机构
	 */
	public void setMechanism(String mechanism) {
		this.mechanism = mechanism;
	}
	/**
	 * 获取：机构
	 */
	public String getMechanism() {
		return mechanism;
	}
	/**
	 * 设置：科室id
	 */
	public void setDept(String dept) {
		this.dept = dept;
	}
	/**
	 * 获取：科室id
	 */
	public String getDept() {
		return dept;
	}
	/**
	 * 设置：职称id
	 */
	public void setJob(String job) {
		this.job = job;
	}
	/**
	 * 获取：职称id
	 */
	public String getJob() {
		return job;
	}
	/**
	 * 设置：手机号
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	/**
	 * 获取：手机号
	 */
	public String getMobile() {
		return mobile;
	}
	/**
	 * 设置：工号
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * 获取：工号
	 */
	public String getCode() {
		return code;
	}
	/**
	 * 设置：职务
	 */
	public void setPosition(String position) {
		this.position = position;
	}
	/**
	 * 获取：职务
	 */
	public String getPosition() {
		return position;
	}
	/**
	 * 设置：能级
	 */
	public void setEnergyLevel(String energyLevel) {
		this.energyLevel = energyLevel;
	}
	/**
	 * 获取：能级
	 */
	public String getEnergyLevel() {
		return energyLevel;
	}
	/**
	 * 设置：入职时间
	 */
	public void setEntryTime(String entryTime) {
		this.entryTime = entryTime;
	}
	/**
	 * 获取：入职时间
	 */
	public String getEntryTime() {
		return entryTime;
	}
	/**
	 * 设置：添加时间
	 */
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}
	/**
	 * 获取：添加时间
	 */
	public Date getAddTime() {
		return addTime;
	}
	/**
	 * 设置：逻辑删除
	 */
	public void setDeleted(Integer deleted) {
		this.deleted = deleted;
	}
	/**
	 * 获取：逻辑删除
	 */
	public Integer getDeleted() {
		return deleted;
	}
}
